package com.kingdee.eas.custom.bases;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class AddressFactory
{
    private AddressFactory()
    {
    }
    public static com.kingdee.eas.custom.bases.IAddress getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IAddress)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("0D7CEBE3") ,com.kingdee.eas.custom.bases.IAddress.class);
    }
    
    public static com.kingdee.eas.custom.bases.IAddress getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IAddress)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("0D7CEBE3") ,com.kingdee.eas.custom.bases.IAddress.class, objectCtx);
    }
    public static com.kingdee.eas.custom.bases.IAddress getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IAddress)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("0D7CEBE3"));
    }
    public static com.kingdee.eas.custom.bases.IAddress getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IAddress)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("0D7CEBE3"));
    }
}